package com.community.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.community.dto.MerchantOrders;
import com.community.dto.SupplierOrders;
import com.community.pojo.PurchaseOrder;
import com.community.pojo.Supplier;
import com.community.pojo.SupplierProduct;
import com.community.utils.PageUtils;
import com.github.pagehelper.PageInfo;
import com.community.utils.PageUtils;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author TangHaoSong Fly ChenJie HeYuHang
 * @since 2024-05-15
 */
public interface ISupplierService extends IService<Supplier> {
    /**
     *查询所有信息
     * @param pageNo
     * @param pageSize
     * @param supplier
     * @return
     */
    PageInfo<Supplier> getSupplierList(int  pageNo, int pageSize, Supplier supplier);

    /**
     * 复核查询
     * @param supplier
     * @param pageNo
     * @param pageSize
     * @return
     */
    PageUtils<Supplier> supplierFuHePage( int pageNo, int pageSize,Supplier supplier);

    /**
     *
     * @param supplier
     */
    void delBySupplierId(Supplier supplier);
    //分页查询所有供应商
    //分页查询所有采购单
    PageUtils<Supplier> searchAll(int pageNo, int pageSize);

    List<SupplierOrders> supplierBySupplierId(Integer id);


}


